package com.jiangong.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeatherAPI {
    private Integer id;
    private Double mpa;
    private Double humidity;
    private Double temperature;
    private String weather;
    private Double quality;
    private String wind;
    private Double dewPoint;
    private Double feelsLike;
    private String qualityImg;
    private LocalDateTime createTime;

    public WeatherAPI(Double mpa, Double humidity, Double temperature, String weather, Double quality, String wind, Double dewPoint, Double feelsLike, String qualityImg, LocalDateTime createTime) {
        this.mpa = mpa;
        this.humidity = humidity;
        this.temperature = temperature;
        this.weather = weather;
        this.quality = quality;
        this.wind = wind;
        this.dewPoint = dewPoint;
        this.feelsLike = feelsLike;
        this.qualityImg = qualityImg;
        this.createTime = createTime;
    }
}
